package com.ruoyi.common.core.enums;

/**
 * 流水类型
 *
 */
public enum FlowType {

	/**
	 * 入款+ 扣款- 冻结 解冻
	 */
	INCOME(0, "入款"), DEDUCTION(1, "扣款"), FREEZE(2, "冻结"), THAW(3, "解冻");

	private final Integer code;
	private final String info;

	FlowType(Integer code, String info) {
		this.code = code;
		this.info = info;
	}

	public Integer getCode() {
		return code;
	}

	public String getInfo() {
		return info;
	}
}
